#ifndef ISWUpdate_h 
 #define ISWUpdate_h 
#include <string>
#include <vector>
#include <list>
#include <map>
class ISession;
class IServlet;
#include "IBusiness.h"
#include "ILogger.h"
class ISWUpdateServlet : public IBusiness {
public: 
    static const char *__businessName__;
    const char *getBusinessName() {return this->__businessName__;}
    void copyTo(std::string &buffer){
       buffer.resize(sizeof(ISWUpdateServlet) + 8);new(&buffer[0])ISWUpdateServlet;
    }
    virtual void open(IServlet* servlet ) ;
    virtual void open(ISession* session ) {LogI("there's no implemations for this method!!!!!!!!!");};

    virtual void stop(IServlet* servlet ) ;
    virtual void stop(ISession* session ) {LogI("there's no implemations for this method!!!!!!!!!");};

    int dispatchActions(ISession *session,void *data,int size);
};

class ISWUpdateServletTest : public IBusiness {
public: 
    static const char *__businessName__;
    const char *getBusinessName() {return this->__businessName__;}
    void copyTo(std::string &buffer){
       buffer.resize(sizeof(ISWUpdateServletTest) + 8);new(&buffer[0])ISWUpdateServletTest;
    }
    virtual void SWUpdateTest(IServlet* servlet, const int& x, const int& y) ;
    virtual void SWUpdateTest(ISession* session, const int& x, const int& y) {LogI("there's no implemations for this method!!!!!!!!!");};

    int dispatchActions(ISession *session,void *data,int size);
};

#endif // ISWUpdate_h 
